//
//  VOHTableView.m
//  VoiceOfHeart
//
//  Created by 吉龙 on 16/8/19.
//  Copyright © 2016年 吉龙. All rights reserved.
//

#import "VOHTableView.h"
#import "VOHTableHeaderView.h"
@implementation VOHTableView

-(instancetype)initWithFrame:(CGRect)frame{
    if (self = [super initWithFrame:frame]) {
        [self setUpView];
    }
    return self;
}


-(void)setUpView{
    self.tableView = [[UITableView alloc] initWithFrame:CGRectMake(0, 0, self.bounds.size.width, self.bounds.size.height)];
    [self addSubview:self.tableView];
    self.tableView.tableHeaderView = [[VOHTableHeaderView alloc] initWithFrame:CGRectMake(0, 0, ScreenWidth, 200)];
    
}

@end
